package com.xxl.dao;

import com.xxl.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xxl
 * @date 2023/3/13
 */
public interface UserMapper {
    int insert(User user);
    int update(User user);
    int delete(@Param("id") int id);
    List<User> query();
    User findUserByName(@Param("username")String username);
}
